<script lang="ts">
import { defineComponent, computed } from 'vue'
export default defineComponent({
  name: 'RenderComp',
  props: {
    createElementFunc: Function
  },
  setup(props, context) {
    const render = h => {
      return props.createElementFunc && props.createElementFunc(h)
    }
    return render
  }
})
</script>
